// AddFriendDialog.cpp : implementation file
//

#include "Cmn.h"



// CAddFriendDialog dialog

IMPLEMENT_DYNAMIC(CAddFriendDialog, CDialog)

CAddFriendDialog::CAddFriendDialog(CWnd* pParent /*=NULL*/)
	: CDialog(CAddFriendDialog::IDD, pParent)
	, Friend_Name(_T(""))
{

}

CAddFriendDialog::~CAddFriendDialog()
{
}

void CAddFriendDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_EDIT1, Friend_Name);
	DDV_MaxChars(pDX, Friend_Name, 20);
}


BEGIN_MESSAGE_MAP(CAddFriendDialog, CDialog)
END_MESSAGE_MAP()


// CAddFriendDialog message handlers
